<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<body>
	<div class="header header-standard">


		<!-- ========================================================================================== -->
		<div class="header-topbar">
			<div class="container">


				<div class="header-topbar-left">
					<ol class="breadcrumb">
						<li><a href="<c:url value='/'/>">Home</a></li>
						<li><a href="<c:url value='/activity/viewlist'/>">Activity</a></li>
						<li><a href="<c:url value='/myroom/viewlist'/>">My Room</a></li>

					</ol>
				</div>
				<!-- /.header-topbar-left -->
 

				<div class="header-topbar-right">

					<c:choose>

						<c:when test="${email==null}">

							<ul class="header-topbar-links">
								<li><a class=""
									style="background-color: #1565C0; border-color: white;"
									href="<c:url value='/user/login'/>">Login /</a></li>
								<li><a class=""
									style="background-color: #1565C0; border-color: white;"
									href="<c:url value='/user/signup'/>">Join Us</a></li>
							</ul>
							<!-- /.header-topbar-links -->

						</c:when>

						<c:otherwise>
							<div class="header-navigation">
								<div class="nav-main-wrapper">
									<div class="nav-main-title visible-xs">
										<a href="index.html"> <img
											src="<c:url value='/resources/assets/img/logo-blue.png'/>"
											alt="Realsite"> Realsite
										</a>
									</div>
									<!-- /div class="nav-main-title visible-xs -->

									<div class="nav-main-inner">
										<nav>
											<ul id="nav-main" class="nav nav-pills">
												<li class="has-children "><a href="agents-detail.html#">${name}<i
														class="fa fa-caret-down"></i></a>

													<div>
														<a href="agents-detail.html#">${name}</a>

														<ul class="sub-menu">

															<li><a href="properties-row.html">My Room</a></li>
															<li><a href="properties-row.html">활동로그보기</a></li>
															<li><a href="properties-row.html">프로필 수정하기</a></li>
															<li><a href="<c:url value='/user/logout'/>">LogOut</a></li>
														</ul>
													</div></li>
											</ul>
											<!-- /.nav -->
										</nav>
									</div>
									<!-- /.nav-main-inner -->

								</div>
								<!-- /nav-main-wrapper -->
							</div>
							<!-- /header-navigation -->

						</c:otherwise>
					</c:choose>

				</div>
 		</div>
			<!-- /.container -->
		</div>
		<!-- /.header-topbar -->

		<!-- ========================================================================================== -->

		<div class="container">
			<div class="header-inner">
 
				<div class="header-main">
					<div class="header-title">
						<a href="<c:url value='/'/>"> <img src="<c:url value='/resources/assets/img/logo.png'/>"><span>All Together</span></a>
					</div>
					<!-- /.header-title -->

					<div class="header-search">
						<form method="post"
							action="http://html.realsite.byaviators.com/headers-search.html?">
							<div class="input-group">
								<input type="text" placeholder="Search properties"
									class="form-control"> <span class="input-group-btn">
									<button class="btn" type="submit">
										<i class="fa fa-search"></i>
									</button>
								</span>
							</div>
							<!-- /.form-group -->
						</form>
					</div>
					<!-- /.header-search -->
				</div>
				<!-- /.header-main -->


			</div>
			<!-- /.header-inner -->
		</div>
		<!-- /.container -->

	</div>
	<!-- /.header-->
	<!-- ======================================================================================== -->








</body>